#! /bin/bash
#

BASEDIR=`dirname $0`
[ -f "${BASEDIR}/start.tac" ] || { echo "Could not find ${BASEIDR}/start.tac"; exit 1; }
TWISTD=$(which twistd2.4 2>/dev/null)
[ -z "$TWISTD" ]  && TWISTD=$(which twistd)
[ -z "$TWISTD" ]  && { echo "Look in README or run ./configure.py"; exit 1; }

$TWISTD -y "${BASEDIR}/start.tac"

